<%@ page language="java" contentType="text/html; charset=ISO-8859-1"
    pageEncoding="ISO-8859-1"%>
<%@taglib uri="http://www.springframework.org/tags/form" prefix="form"%>    
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>Insert title here</title>
</head>
<body>
<p><b>CREATE EMPLOYEE DETAILS</b></p><br/>
    <form:form method="POST" commandName="user" action="${pageContext.request.contextPath}/adminHome/EmpList/create.html">
        

    <table class="table table-striped table-hover">
        
<tr>
        
        <td> <b> NAME </b></td>
            <td><form:input path="name"/></td>
          <td><form:errors path="name" cssStyle="color:red;"/></td>
        </tr>
        
         <tr> 
             <td> <b> IC NUMBER </b></td>
             <td><form:input path="ic"/></td>
          <td><form:errors path="ic" cssStyle="color:red;"/></td>
          </tr>
        
        <tr> 
            <td> <b> CONTACT DETAIL</b></td>
                <td><form:input path="contact"/></td>
          <td><form:errors path="contact" cssStyle="color:red;"/></td>
          </tr>
        
         <tr>
             <td> <b> ADDRESS </b></td>
                 <td><form:input path="address"/></td>
          <td><form:errors path="address" cssStyle="color:red;"/></td> 
          </tr>
        <tr>
            <td> <b> eMAIL ID</b>
                <td><form:input path="email"/></td>
          <td><form:errors path="email" cssStyle="color:red;"/></td></tr>
        
        <tr>
            <td> <b> DEPARTMENT</b>
               <td><form:input path="department"/></td>
          <td><form:errors path="department" cssStyle="color:red;"/></td></tr>
        
        <tr> <td> <b> DESIGNATION</b>
           <td><form:input path="designation"/></td>
          <td><form:errors path="designation" cssStyle="color:red;"/></td>
          </tr>
        
    
		<tr> <td> <b> MANAGER ID</b>
          <td><form:input path="managerId"/></td>
          <td><form:errors path="managerId" cssStyle="color:red;"/></td>
      
        </tr>
   	 <tr>
    <td> <center><input type="submit" value="CREATE" name="create"></center></td>
    
     </tr>
  
    </table>   

     
    </form:form>
</body>
</html>